<!--
 * @Description:
 * @Author: william
 * @Date: 2024-04-11 09:40:53
 * @LastEditors: william
 * @LastEditTime: 2025-04-24 09:45:35
-->
<template>
  <el-table
    ref="refBaseTable"
    class="dy-list-table"
    element-loading-background="rgba(0, 0, 0, 0.8)"
    :stripe="stripe"
    border
    :="$attrs"
  >
    <slot />
  </el-table>
</template>

<script setup>
defineProps({
  stripe: {
    type: Boolean,
    default: true
  }
})

const refBaseTable = ref(null)

defineExpose({
  refBaseTable
})
</script>

<style scoped lang="scss">
.dy-list-table {
  height: 100%;
}
</style>
